package com.roger.myHome.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("ticket_log")
public class TicketLog implements Serializable {
    @TableId(type = IdType.AUTO,value = "id")
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("left_ticket")
    private Integer leftTicket;
}
